<html>
    <head>
        <meta charset="utf-8" />

        <link rel="stylesheet" type="text/css" href="style.css" />

        <script src = "support/OmegaNum.js"></script>
        <script src = "support/LZString.js"></script>

        <script src = "js/support/format.js"></script>
        <script src = "js/support/others.js"></script>
        <script src = "js/support/functions.js"></script>

        <script src = "js/save/player.js"></script>
        <script src = "js/save/load.js"></script>

        <script src = "js/layers/main.js"></script>
        <!--主游戏-->
        <script src = "js/layers/1+2-mainLayers/bd.js"></script>
        <script src = "js/layers/1+2-mainLayers/td.js"></script>
        <script src = "js/layers/1+2-mainLayers/layer1.js"></script>
        <script src = "js/layers/1+2-mainLayers/layer2.js"></script>
        <!--塌缩-->
        <script src = "js/layers/3-BigCrunch/layer3.js"></script>
        <script src = "js/layers/3-BigCrunch/cd.js"></script>
        <script src = "js/layers/3-BigCrunch/rl3challs.js"></script>

        <script src = "js/layers/4-BreakingMirror/JustARl4Tip.js"></script>
        <script src = "js/layers/4-BreakingMirror/layer4.js"></script>
        <script src = "js/layers/4-BreakingMirror/md.js"></script>
        <script src = "js/layers/4-BreakingMirror/rl4chall.js"></script>
        <script src = "js/layers/4-BreakingMirror/rl4milestones.js"></script>

        <script src = "js/support/game.js"></script>
        <script src = "js/support/news.js"></script>
        <script src = "js/softcaps.js"></script>
        <script src = "js/automations.js"></script>

        <title>黑洞维度3.0 - 作者QwQe308</title>

    </head>
    <body onload = load();doodooWater()>
        <app @touchmove.prevent>            
            <p id="news" style="transform: translateX(-2512px); transition: transform 35.33s linear 0s;"></p>
            <autoStat id = "autoStat"></autoStat>
            <h2 id=mass class="mass">黑洞质量 :  <mass id=massNum class="massNum"></mass> <mass id=massProc class="massProc"></mass></h2>
            <p>v0.411 - 镜面前期-修复-1 当前endgame:完成所有镜面挑战和里程碑,约e25600物质</p><devSpeed id = "devSpeed"></devSpeed><offlineSpeedup id = "offlineSpeedup"></offlineSpeedup>
            <br />
            <!--一层菜单-->
            <button onclick="FirstTab = '设置';SecondTab = '设置'" class="tab" id=tab_settings>设置</button>
            <button onclick="FirstTab = '物质维度';SecondTab = '黑洞维度'" class="tab" id=tab_md>物质维度</button>
            <button onclick="if(player.bestMass.lt(Number.MAX_VALUE)) return;FirstTab = '塌缩';SecondTab = '塌缩升级'" class="tab" id=tab_rl3>塌缩</button>
            <button onclick="if((!hasRl3Chall(51)) && !player.mirrorize) return;FirstTab = '镜面';SecondTab = '镜面里程碑';changeRl4Tip()" class="tab" id=tab_rl4>镜面</button>
            <br /><br />
            <!--二层菜单-->
            <!--设置-->
            <subtab id=subtab_settings>
                <button onclick="if(prompt('您确定要硬重置么 在下方输入 确定 以清档') == '确定') toClearSave = true" class="tab" id="clearSave">清档</button>
                <button onclick="prompt('您的存档:',saveStr)" id="export" class="tab">导出</button>
                <button onclick="load(prompt('输入存档:'))" id="import" class="tab">导入</button>
                <button onclick="if(player.auto == 'off')player.auto = 'on';else player.auto = 'off'" id="toggleAuto" class="tab">切换自动化状态</button>
                <button onclick="if(player.ToggleOfflineSpeedup == 'off')player.ToggleOfflineSpeedup = 'on';else player.ToggleOfflineSpeedup = 'off'" id="toggleSpeedup" class="tab">切换离线进度状态</button><br>
                <scIndex id = "scIndex"></scIndex>
            </subtab>
            <!--物质维度-->
            <subtab id=subtab_md>
                <button onclick="SecondTab = '黑洞维度'" id=tab_bd class="tab">黑洞维度</button>
                <button onclick="SecondTab = '时间维度'" id=tab_td class="tab">时间维度</button>
            </subtab>
            <!--塌缩-->
            <subtab id=subtab_rl3>
                <button onclick="SecondTab = '塌缩升级'" id=tab_rl3upg class="tab">塌缩升级</button>
                <button onclick="if(!hasRl3Upgrade(14)) return;SecondTab = '奇点维度'" id=tab_rl3dim class="tab">奇点维度</button>
                <button onclick="if(!hasRl3Upgrade(21)) return;SecondTab = '塌缩挑战'" id=tab_rl3cha class="tab">塌缩挑战</button>
            </subtab>
            <subtab id=subtab_rl4>
                <button onclick="SecondTab = '镜面里程碑';changeRl4Tip()" id=tab_rl4milestone class="tab">镜面里程碑</button>
                <button onclick="SecondTab = '镜面维度'" id=tab_rl4dim class="tab">镜面维度</button>
                <button onclick="SecondTab = '镜面挑战'" id=tab_rl4chall class="tab">镜面挑战</button>
            </subtab>
            <br /><br /><br />

            <tab id=bd>
                <button id=buyMaxbd onclick="buyMaxbd()" class="buymax">购买最大(M)</button><br />
                <subItem id=BCTickspeed></subItem><br />
                <button id=bd0 onclick="buybd(0)" class="dim"></button><br /><br />
                <button id=bd1 onclick="buybd(1)" class="dim"></button><br /><br />
                <button id=bd2 onclick="buybd(2)" class="dim"></button><br /><br />
                <button id=bd3 onclick="buybd(3)" class="dim"></button><br /><br />
                <button id=rl1 onclick="doRl1()" class="dim"></button><br /><br />
                <button id=rl2 onclick="doRl2()" class="dim"></button>
            </tab>

            <tab id=td>
                <subItem id=ts></subItem><br /><br />
                <button id=buyMaxtd onclick="buyMaxtd()" class="buymax">购买最大(M)</button><br /><br />
                <button id=td0 onclick="buytd(0)" class="dim"></button><br /><br />
                <button id=td1 onclick="buytd(1)" class="dim"></button><br /><br />
                <button id=td2 onclick="buytd(2)" class="dim"></button><br /><br />
                <button id=td3 onclick="buytd(3)" class="dim"></button>
            </tab>

            <tab id=rl3upg>
                <subItem id=acp></subItem><br />
                <subItem id=cp></subItem><br /><br />
                <button id=rl3 onclick="doRl3()" class="dim"></button><br /><br />
                <button id=resetCU onclick="resetCU()" class="dim">重置塌缩升级</button><br />
                <button id=cu11 onclick="buycu(11)" class="upg"></button>
                <button id=cu12 onclick="buycu(12)" class="upg"></button>
                <button id=cu13 onclick="buycu(13)" class="upg"></button>
                <button id=cu14 onclick="buycu(14)" class="upg"></button>
                <button id=cu15 onclick="buycu(15)" class="upg"></button><br>

                <button id=cu21 onclick="buycu(21)" class="upg"></button>
                <button id=cu22 onclick="buycu(22)" class="upg"></button>
                <button id=cu23 onclick="buycu(23)" class="upg"></button>
                <button id=cu24 onclick="buycu(24)" class="upg"></button>
                <button id=cu25 onclick="buycu(25)" class="upg"></button><br>

                <button id=cu31 onclick="buycu(31)" class="upg"></button>
                <button id=cu32 onclick="buycu(32)" class="upg"></button>
                <button id=cu33 onclick="buycu(33)" class="upg"></button>
                <button id=cu34 onclick="buycu(34)" class="upg"></button>
                <button id=cu35 onclick="buycu(35)" class="upg"></button><br>

                <button id=cu41 onclick="buycu(41)" class="upg"></button>
                <button id=cu42 onclick="buycu(42)" class="upg"></button>
                <button id=cu43 onclick="buycu(43)" class="upg"></button>
                <button id=cu44 onclick="buycu(44)" class="upg"></button>
                <button id=cu45 onclick="buycu(45)" class="upg"></button><br>

                <mirror id=row5cu><button id=cu51 onclick="buycu(51)" class="upg"></button>
                <button id=cu52 onclick="buycu(52)" class="upg"></button>
                <button id=cu53 onclick="buycu(53)" class="upg"></button>
                <button id=cu54 onclick="buycu(54)" class="upg"></button>
                <button id=cu55 onclick="buycu(55)" class="upg"></button><br></mirror>
            </tab>

            <tab id=cd>
                <subItem id=cp_quickView1 class = lightBlue></subItem><br />
                <subItem id=ce></subItem><br />
                <br />
                <button id=buyMaxcd onclick="buyMaxcd()" class="buymax">购买最大</button><br /><br />
                <button id=cd0 onclick="buycd(0)" class="dim"></button><br /><br />
                <button id=cd1 onclick="buycd(1)" class="dim"></button><br /><br />
                <button id=cd2 onclick="buycd(2)" class="dim"></button><br /><br />
                <button id=cd3 onclick="buycd(3)" class="dim"></button><br /><br />
                <button id=cpBooster onclick="buyCpBooster()" class="dim"></button><br /><br />
            </tab>

            <tab id=rl3chall>
                <help>进入塌缩挑战时同时也会触发所有该挑战左侧的挑战,元挑战除外.达到塌缩目标以完成挑战.</help><br>
                <button id=exitRl3Chall onclick="exitRl3Chall()" class="dim">退出塌缩挑战</button><br />

                <button id=c10 onclick="enterRl3Chall(10)" class="upg"></button>
                <button id=c11 onclick="enterRl3Chall(11)" class="upg"></button>
                <button id=c12 onclick="enterRl3Chall(12)" class="upg"></button>
                <button id=c13 onclick="enterRl3Chall(13)" class="upg"></button>
                <button id=c14 onclick="enterRl3Chall(14)" class="upg"></button><br>

                <button id=c20 onclick="enterRl3Chall(20)" class="upg"></button>
                <button id=c21 onclick="enterRl3Chall(21)" class="upg"></button>
                <button id=c22 onclick="enterRl3Chall(22)" class="upg"></button>
                <button id=c23 onclick="enterRl3Chall(23)" class="upg"></button>
                <button id=c24 onclick="enterRl3Chall(24)" class="upg"></button><br>

                <button id=c30 onclick="enterRl3Chall(30)" class="upg"></button>
                <button id=c31 onclick="enterRl3Chall(31)" class="upg"></button>
                <button id=c32 onclick="enterRl3Chall(32)" class="upg"></button>
                <button id=c33 onclick="enterRl3Chall(33)" class="upg"></button>
                <button id=c34 onclick="enterRl3Chall(34)" class="upg"></button><br>

                <button id=c40 onclick="enterRl3Chall(40)" class="upg"></button>
                <button id=c41 onclick="enterRl3Chall(41)" class="upg"></button>
                <button id=c42 onclick="enterRl3Chall(42)" class="upg"></button>
                <button id=c43 onclick="enterRl3Chall(43)" class="upg"></button>
                <button id=c44 onclick="enterRl3Chall(44)" class="upg"></button><br>

                <button id=c51 onclick="enterRl3Chall(51)" class="META"></button>
            </tab>

            <tab id=rl4chall>
                <help>在镜面挑战中,镜面重置可以获得一种新的资源"镜面碎片".镜面碎片可以大幅度加强镜面维度.对于刚解锁镜面重置的人来说,镜面挑战暂时是不能完成的.*镜面挑战中不能获得镜物质和镜面重置次数*</help><br>
                <button id=exitRl4Chall onclick="exitRl4Chall()" class="dim">退出镜面挑战</button><br /><br />
                <button id=mc1 onclick="enterRl4Chall(1)" class="dim">bug!</button>
                <button id=mc2 onclick="enterRl4Chall(2)" class="dim"></button>
            </tab>

            <tab id=md>
                <subItem id=mm_quickView1 class = lightBlue></subItem><br />
                <subItem id=en></subItem><br />
                <subItem id=am></subItem><br />
                <subItem id=mirror></subItem><br />
                <subItem id=mirrorize></subItem><br />
                <subItem id=ms></subItem><br />
                <br />
                <button id=buyMaxmd onclick="buyMaxmd()" class="buymax">购买最大</button><br /><br />
                <button id=md0 onclick="buymd(0)" class="dim"></button><br /><br />
                <button id=md1 onclick="buymd(1)" class="dim"></button><br /><br />
                <button id=md2 onclick="buymd(2)" class="dim"></button><br /><br />
                <button id=md3 onclick="buymd(3)" class="dim"></button><br /><br />
                <button id=mirrorReserve onclick="mirrorReserve()" class="dim"></button>
            </tab>

            <tab id=rl4milestones>
                <tip id=rl4Tip class = tip></tip><br /><br />
                <subItem id=MM></subItem><br />
                <button id=rl4 onclick="doRl4()" class="dim"></button><br /><br />
                <desp>一次性获得大于等于对应的镜物质以获取对应里程碑!</desp><br /><br />
                <button id=rl4milestone1 class="dim"></button><br /><br />
                <button id=rl4milestone2 class="dim"></button><br /><br />
                <button id=rl4milestone3 class="dim"></button><br /><br />
                <button id=rl4milestone4 class="dim"></button><br /><br />
                <button id=rl4milestone5 class="dim"></button><br /><br />
                <button id=rl4milestone6 class="dim"></button><br /><br />
                <button id=rl4milestone7 class="dim"></button><br /><br />
                <button id=rl4milestone8 class="dim"></button><br /><br />
                <button id=rl4milestone9 class="dim"></button><br /><br />
            </tab>
        </app>
    </body>
</html>